<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>新建模型 - 模型管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
	function page(n,s){
		if(n) $("#pageNo").val(n);
		if(s) $("#pageSize").val(s);
		$("#searchForm").attr("action","${ctx}/unfee/unfeeList");
		$("#searchForm").submit();
    	return false;
    }
	</script>
	<style type="text/css">
		.getMargin{
				margin:0 auto;
		}
	</style>
</head>
<body>
<form:form id="searchForm" action="" method="post">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<sys:tableSort id="orderBy" name="orderBy" value="${page.orderBy}" callback="page();"/>
</form:form>
<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/unfee/unfeeList">未缴费用户</a></li>
		<li><a href="${ctx}/fee/feeMonth">月末扣费</a></li>
		<li><a href="${ctx}/fee/feelist">物业费列表</a></li>
	</ul>
	<div class="getMargin">
		<table id="contentTable" class="table table-striped table-bordered table-condensed">
			<thead>
				<th>欠费用户</th>
				<th>用户电话</th>
				<th>欠费金额</th>
				<th>欠费日期</th>
				<th>操作</th>
				
			</thead>
			<c:forEach items="${page.list }" var="a">
				
				<tr>
					<td>${a.user.name }</td>
					<td>${a.user.mobile }</td>
					<td>${a.price }</td>
					<td>${a.createTime }</td>
					<td>
						<a href="${ctx}/unfee/deleteUnFee?id=${a.id}">删除</a>
					</td>
				</tr>
			</c:forEach>
		</table>
		<div class="pagination">${page}</div>	
	</div>
	
</body>
</html>
